$color: red;
$boxShadow: 0px 0px 16px rgba(0, 0, 0, 0.12);
.pad {
  padding: 20px;
}
.flex-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.search-box {
  background: var(--background);
  padding: 10px 10px 0 10px;
  border-bottom: 2px solid #ededed;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.table-box{
  max-height: 100%;
  min-height: 550px;
  overflow: auto;
  padding:10px 5px 0 5px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  color: var(--text);
  background: var(--background);
  .icon-box{
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    .icon-item{
      margin-right: 10px;
      cursor: pointer;
    }
    .icon-item :hover{
      scale: (1.1);
      all: inherit 0.1s;
    }
  }
}
.table-hight {
  flex: 1;
  height: 95.5%;
}
// 弹窗的最大高度设置
.dialogMaxHeight {
  max-height: 620px;
  overflow: auto;
  z-index: 100000000;
  .el-scrollbar__wrap {
    min-height: 450px !important;
    max-height: 450px !important;
    overflow: auto;
  }
}
// 弹窗的最大高度设置(有分页)
.dialogMax {
  height: 650px !important;
  z-index: 100000000;
}
// 弹窗的最大高度设置(有筛选条件 有分页)
.dialogMaxQuery {
  height: 720px !important;
}
.borderTop{
  border-top: 1px solid #ededed;
}
.borderBottom{
  border-bottom: 1px solid #ededed;
}

div:focus {
  outline: none;
}
/* 去掉input尾部上下小箭头 start */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  -o-appearance: none !important;
  -ms-appearance: none !important;
  appearance: none !important;
  margin: 0;
}
input[type='number'] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  -o-appearance: textfield;
  -ms-appearance: textfield;
  appearance: textfield;
}
/* 去掉input尾部上下小箭头 end */

// echarts样式
.border-line {
  padding: 20px;
  margin: 0 auto 40px;
  background: var(--homeback);
  border-radius: 5px;
  p {
    font-size: 17px;
    font-weight: 600;
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: 100;
  }
}

// 表格列表
.tableMaxHight{
  height: 88vh;
  padding-top: 0;
}
.infoBox {
  color: #333;
  .info {
    font-size: 15px;
    border: 1px solid #999999;
    border-bottom: none;

    div {
      height: 40px;
      line-height: 40px;
      padding-left: 5px;
    }

    .textCenter {
      font-size: 17px;
      font-weight: 600;
    }

    .leftBorder {
      border-left: 1px solid #999999;
    }

    &:last-child {
      border-bottom: 1px solid #999999;
    }
  }
}

// 游戏图标
.game-icon{
  width: 30px;
  border-radius: 50%;
}
.gameIcon {
  display: flex;
  align-items: center;
  div{
    width: 45%;
    margin-right: 5px;
    &:first-child{
      text-align: right;
    }
  }
}

// 点击信息查询
.item_check{
  cursor: pointer;
  color: green;
  padding-bottom: 1px;
  border-bottom: 1px solid green;
  font-size: 15px;
}
.item_details{
  cursor: pointer;
  color: cornflowerblue;
  padding-bottom: 1px;
  border-bottom: 1px solid cornflowerblue;
  font-size: 15px;
  font-weight: 600px;
}
// 文字下划线
.details {
  cursor: pointer;
  text-decoration: underline; //设置下划线
  text-underline-offset: 3px; //下划线和文字间距
  text-decoration-color: rgba(100, 149, 237); //下划线颜色
}
// 汇总字段样式
.statistic {
  font-size: 14px;
  p {
    margin-right: 30px;
    span {
      font-size: 16px !important;
      font-weight: 600;
    }
  }
}

// 禁止鼠标事件 === 达到禁止用户操作
.disableUser {
  &>*{
    pointer-events: none;
  }
}
// 禁止操作背景色
.disableUserBg {
  &>*{
    pointer-events: none;
  }
  background-color: #999999;
  opacity: 0.8;
}

// 暂无数据
.noDataAvailable {
  width: 30%;
  text-align: center;
  margin: 20% auto;
  color: #999999;
}

// 无限循环-新增-删除
.add-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #6495ed;
  line-height: 24px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  user-select: none; //禁止被用户选中
}
.reduce-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: crimson;
  line-height: 22px;
  text-align: center;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  user-select: none; //禁止被用户选中
}

// border盒子
.border-box {
  max-height: 700px;
  border: 1px solid #ededed;
  padding: 10px;
  border-radius: 5px;
  overflow: auto;
}
.box-title {
  font-size: 17px;
  font-weight: 600;
  color: #444444;
}

.colorGre {
  color: green;
  font-size: 15px;
  font-weight: 600;
}
.colorYe {
  color: #e6a23c;
  font-size: 15px;
  font-weight: 600;
}
.colorRed {
  color: crimson;
  font-size: 15px;
  font-weight: 600;
}
.colorText {
  font-size: 15px;
  font-weight: 600;
}
.mustPass {
  color: crimson;
  font-size: 18px;
  font-weight: 600;
  margin-left: 1px;
}
.noMustPass {
  display: none;
}
.colorGreen {
  color: green;
}
.colorCorn {
  color: #6495ed;
}
.colorDark {
  color: #e9966a;
}
.colorBurl {
  color: #deb887;
}
.tipsText {
  color: #3c3f44;
  font-size: 12px;
  margin-left: 5px;
  line-height: 20px;
  display: block;
}
.tipsTextRed {
  color: red;
  font-size: 12px;
  margin-left: 5px;
}
.btnStyle{
  width: 97px;
  text-align: center;
  line-height: 36px;
  color: #fff;
  font-size: 14px;
  border-radius: 3px;
  cursor: pointer;
}
/* 文本超出隐藏 */
.text-cut {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.textCenter {
  text-align: center;
}
.textLeft {
  text-align: left;
}

// flex布局
.flex {
  display: flex;
  align-items: center;
}
.flexStart {
  display: flex;
  align-items: flex-start;
}
.flexStartDetween {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.flexCenter {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flexDetween {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flexRightDetween {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
}
.flexAround {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.flexEvenly {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.flexWrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.flexWrapDetween {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.flexWrapStartDetween {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.flexWrapStartEvenly {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-evenly;
}
// 朝下走 往右边排
.flexWrapDownRight {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.flexWrapAround {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.width5 {
  width: 5%;
}
.width10 {
  width: 10%;
}
.width15 {
  width: 15%;
}
.width20 {
  width: 20%;
}
.width25 {
  width: 25%;
}
.width30 {
  width: 30%;
}
.width40 {
  width: 40%;
}
.width45 {
  width: 45%;
}
.width50 {
  width: 50%;
}
.width55 {
  width: 55%;
}
.width60 {
  width: 60%;
}
.width70 {
  width: 70%;
}
.width80 {
  width: 80%;
}
.imWidth80 {
  width: 80% !important;
}
.width90 {
  width: 90%;
}
.width100 {
  width: 100%;
}
.imWidth100 {
  width: 100% !important;
}
.width110 {
  width: 110px;
}
.width120 {
  width: 120px;
}
.selectWidth120 {
  width: 120px !important;
}
.width130 {
  width: 130px;
}
.width140 {
  width: 140px;
}
.width150 {
  width: 150px;
}
.selectWidth150 {
  width: 150px !important;
}
.width200 {
  width: 200px;
}
.width240 {
  width: 240px;
}
.formItem240 {
  width: 240px !important;
}
.width280 {
  width: 280px;
}
.formItem280 {
  width: 280px !important;
}
.width320 {
  width: 320px;
}
.formItem320 {
  width: 320px !important;
}
// margin样式
.margin5 {
  margin: 5px;
}
.margin10 {
  margin: 10px;
}
.marginT2 {
  margin-top: 2px;
}
.marginT5 {
  margin-top: 5px;
}
.marginT10 {
  margin-top: 10px;
}
.marginB5 {
  margin-bottom: 5px;
}
.marginB10 {
  margin-bottom: 10px;
}
.marginL5 {
  margin-left: 5px;
}
.marginL10 {
  margin-left: 10px;
}
.marginL20 {
  margin-left: 20px;
}
.marginL30 {
  margin-left: 30px;
}
.marginL70 {
  margin-left: 70%;
}
.marginL80 {
  margin-left: 80%;
}
.marginR2 {
  margin-right: 2px;
}
.marginR5 {
  margin-right: 5px;
}
.marginR7 {
  margin-right: 7px;
}
.marginR10 {
  margin-right: 10px;
}
.marginR12 {
  margin-right: 12px;
}
.marginR15 {
  margin-right: 15px;
}
.marginR20 {
  margin-right: 20px;
}
.marginR30 {
  margin-right: 30px;
}
.marginT20 {
  margin-top: 20px;
}
.marginB20 {
  margin-bottom: 20px;
}
.marginLR10 {
  margin: 0 10px;
}
.marginLR20 {
  margin: 0 20px;
}
.marginTB10 {
  margin: 10px 0;
}
.marginTB20 {
  margin: 20px 0;
}
// padding样式
.padding10 {
  padding: 10px;
}
.padding20 {
  padding: 20px;
}
.paddingT10 {
  padding-top: 10px;
}
.paddingB10 {
  padding-bottom: 10px;
}
.paddingL10 {
  padding-left: 10px;
}
.paddingR10 {
  padding-right: 10px;
}
.paddingT20 {
  padding-top: 20px;
}
.paddingB20 {
  padding-bottom: 20px;
}
.paddingL20 {
  padding-left: 20px;
}
.paddingR20 {
  padding-right: 20px;
}
.paddingLR10 {
  padding: 0 10px;
}
.paddingLR20 {
  padding: 0 20px;
}
.paddingTB10 {
  padding: 10px 0;
}
.paddingTB20 {
  padding: 20px 0;
}
